package browserResponse;


import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;

//preliminary code provided by: http://www.silverwareconsulting.com/index.cfm/2010/5/17/Getting-Started-with-WebDriver-a-Browser-Automation-Tool
public class Response {
	public static void main(String[] args){
		WebDriver driver = new FirefoxDriver();
//		driver.get("http://www.facebook.com");
//		WebElement element = driver.findElement(By.name("email"));
//		element.sendKeys("gangsterrapfan1@aim.com");
//		element = driver.findElement(By.name("pass"));
//		element.sendKeys("8562385623");
//		element.submit();
		while(true){
			//navigates to Facebook and enters username/pw and logs in
			driver.get("http://www.youtube.com");
			driver.get("http://www.yankees.com");
			driver.get("http://www.yahoo.com");
		}
	}
}
